package com.ly.auth.service;

import org.springframework.security.oauth2.provider.OAuth2Authentication;
import org.springframework.security.oauth2.provider.code.RandomValueAuthorizationCodeServices;

/**
 * @author luka.zhou
 * @date 2024-3-7 19:32
 * @description 自定义AuthorizationCodeServices
 */
public class CustomAuthorizationCodeServices extends RandomValueAuthorizationCodeServices {
    @Override
    protected void store(String code, OAuth2Authentication oAuth2Authentication) {

    }

    @Override
    protected OAuth2Authentication remove(String code) {
        return null;
    }

}
